; Structure of entry in FAT
; OFFSET (dec) | Size (bytes) | Value
; ------------------------------------
; 0            | 1            | Attributes*
; ------------------------------------
; 1            | 2            | Address in LBA
; ------------------------------------
; 3            | 1            ; Size in sectors
; ------------------------------------
; 4            | 12           | Name
; ------------------------------------
; * Attrubute byte
;    Bit Value
;    0   Directory
;    1   Exist
;    2   Executable
;    3   Read-only
;    4   Reserved
;    5   Reserved
;    6   Reserved
;    7   Reserved

format binary as 'bin'
USE16

include 'inc/filesystem.inc'

; kernel
    db 00000111b          ; Attributes
    dw 0004h              ; Address
    db 4                  ; Size
    db "kernel.bin", 0, 0 ; Name
; bin folder (env)
    db 00000011b
    dw 0008h
    db TABLE_SIZE
    db "bin", 0, 0, 0, 0, 0, 0, 0, 0, 0
; path to environment folder
    db 00000010b
    db 000Ah
    db 1
    db "env.cfg"

times 1024-($-$$) db 0
